import request from '@/utils/request'

// 查询园区企业招聘列表
export function listParkRecruitment(query) {
  return request({
    url: '/park/parkRecruitment/list',
    method: 'get',
    params: query
  })
}

// 查询园区企业招聘详细
export function getParkRecruitment(id) {
  return request({
    url: '/park/parkRecruitment/' + id,
    method: 'get'
  })
}

// 新增园区企业招聘
export function addParkRecruitment(data) {
  return request({
    url: '/park/parkRecruitment',
    method: 'post',
    data: data
  })
}

// 修改园区企业招聘
export function updateParkRecruitment(data) {
  return request({
    url: '/park/parkRecruitment',
    method: 'put',
    data: data
  })
}

// 删除园区企业招聘
export function delParkRecruitment(id) {
  return request({
    url: '/park/parkRecruitment/' + id,
    method: 'delete'
  })
}
